package com.tbs.easyhomemoneyserver.service

import com.tbs.easyhomemoneyserver.DO.FlowNode
import com.tbs.easyhomemoneyserver.model.dto.FlowNodeDTO

interface IFlowNodeService {
    fun getNodeById(id: Long?): FlowNode?

    fun findNodeByEditorUserId(userId: Long?): List<FlowNodeDTO>?

    fun setNode(node: FlowNode?)

    fun clearCache(nodeId: Long?)

    fun insertNode(node: FlowNode?): FlowNode?

    fun setAllFlowStatusByBeginNodeId(begin: FlowNode?, status: Byte?): List<FlowNode>?
}
